package com.example.model;

import java.io.Serializable;
import java.util.List;

/**
 * layuitree树结构实体类
 * 
 * @author
 */
public class Ltree implements Serializable {

    private static final long serialVersionUID = 1L;

    /** 节点ID */
    private Integer id;

    /** 节点父ID */
    private Integer pId;

    /** 节点标题 */
    private String title;

    /** 是否勾选 */
    private boolean checked = false;

    /** 是否展开 */
    private boolean spread = false;

    /** 是否能勾选 */
    private boolean disabled = false;

    private List<Ltree> children;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getpId() {
        return pId;
    }

    public void setpId(Integer pId) {
        this.pId = pId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public boolean isChecked() {
        return checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }

    public boolean isSpread() {
        return spread;
    }

    public void setSpread(boolean spread) {
        this.spread = spread;
    }

    public boolean isDisabled() {
        return disabled;
    }

    public void setDisabled(boolean disabled) {
        this.disabled = disabled;
    }

    public List<Ltree> getChildren() {
        return children;
    }

    public void setChildren(List<Ltree> children) {
        this.children = children;
    }
}
